CC = gcc
XMLRPC_C_CONFIG = xmlrpc-c-config

INCLUDES = $(shell $(XMLRPC_C_CONFIG) client abyss-server --cflags)
LIBS = $(shell $(XMLRPC_C_CONFIG) client abyss-server --libs)

SRC = src/multirpc.c

OUT = bin/multirpc

multirpc: $(SRC)
	$(CC) -g -o $(OUT) $^ $(LIBS) $(INCLUDES)

clean:
	@rm $(OUT)
	@echo Cleaned!
